﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Text;
using netDxf;
using netDxf.Blocks;
using netDxf.Collections;
using netDxf.Entities;
using netDxf.Header;
using netDxf.Objects;
using netDxf.Tables;
using netDxf.Units;
using Attribute = netDxf.Entities.Attribute;
using Image = netDxf.Entities.Image;
using Point = netDxf.Entities.Point;
using Trace = netDxf.Entities.Trace;
using System.Threading;

namespace TestDxfDocument
{
    class Determinationofthelayerproperties
    {

        public static void Drawline3(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 6);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 6);

            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.5, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline4(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 6);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 6);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line2 = { vec1, vec2 };
                fun.drawBLine(dxf, line2, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline5(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(1) };
            Vector2 lt = new Vector2(0, 0);


            Vector2 lb = new Vector2(0, lt.Y + 6);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 5, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line1, 0.35, skdimensioning, Linetype.Dashed);
            }

            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }

        public static void Drawline6(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(2) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 4, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawPlinetype(dxf, new Vector2[] { new Vector2(vec1.X, vec1.Y), new Vector2(vec2.X, vec2.Y) }, 0.15, skdimensioning, Linetype.Center);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline8(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(5) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 6);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline9(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline10(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(1) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 3, 0);
            Vector2 rb = new Vector2(lt.X + 2, lt.Y + 6);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline11(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline12(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.5, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline13(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(6) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline14(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(1) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line5 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line5, 0.35, skdimensioning, Linetype.Dashed);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline15(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(2) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 3, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line5 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line5, 0.25, skdimensioning, Linetype.Dashed);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline17(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(5) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 6);
            Vector2 rt = new Vector2(lt.X + 3, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline18(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline19(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 3, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.5, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline20(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 6);
            Vector2 rt = new Vector2(lt.X + 3, 0);
            Vector2 rb = new Vector2(lt.X + 5, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline21(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(1) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 30);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.5, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline22(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(2) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 5, lt.Y);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line5 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line5, 0.25, skdimensioning, Linetype.Dashed);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline23(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(5) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line5 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line5, 0.35, skdimensioning, Linetype.Dashed);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline24(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(5) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline26(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 3, 0);
            Vector2 rb = new Vector2(lt.X + 5, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline27(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.5, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline28(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 6);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line5 = { vec1, vec2 };
                fun.drawBLine(dxf, line5, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline29(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(1) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 6);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line5 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line5, 0.35, skdimensioning, Linetype.Dashed);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline31(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(2) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 5, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawPlinetype(dxf, line1, 0.25, skdimensioning, Linetype.Dashed);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline32(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(5) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline33(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(4) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y + 5);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.25, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline34(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 3, lt.Y);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.2, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline35(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.3, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline36(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 6);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.4, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline37(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 5, 0);
            Vector2 rb = new Vector2(lt.X + 6, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.35, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline38(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(9) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 3);
            Vector2 rt = new Vector2(lt.X + 2, 0);
            Vector2 rb = new Vector2(lt.X + 5, lt.Y + 3);
            {
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 5);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.18, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline39(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(9) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 8, lt.Y);
            {
                ;
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.18, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline64(Dictionary<string, Object> data)
        {
            DxfDocument dxf = new DxfDocument();
            Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(30) };
            Vector2 lt = new Vector2(0, 0);
            Vector2 lb = new Vector2(0, lt.Y + 5);
            Vector2 rt = new Vector2(lt.X + 6, 0);
            Vector2 rb = new Vector2(lt.X + 8, lt.Y);
            {
                ;
                Vector2 vec1 = new Vector2(5, 3);
                Vector2 vec2 = new Vector2(0, 3);
                Vector2[] line1 = { vec1, vec2 };
                fun.drawBLine(dxf, line1, 0.18, skdimensioning);
            }
            string path = Convert.ToString(data["path"]);
            //定义格式，根据路径导出
            dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
            dxf.Save(path);
        }
        public static void Drawline65(Dictionary<string, Object> data)
        {
            {
                DxfDocument dxf = new DxfDocument();
                Layer skdimensioning = new Layer("rect2") { Color = AciColor.FromCadIndex(7) };
                Vector2 lt = new Vector2(0, 0);
                Vector2 lb = new Vector2(0, lt.Y + 5);
                Vector2 rt = new Vector2(lt.X + 6, 0);
                Vector2 rb = new Vector2(lt.X + 8, lt.Y);
                {
                    ;
                    Vector2 vec1 = new Vector2(5, 3);
                    Vector2 vec2 = new Vector2(0, 3);
                    Vector2[] line1 = { vec1, vec2 };
                    fun.drawBLine(dxf, line1, 0.25, skdimensioning);
                }
                string path = Convert.ToString(data["path"]);
                //定义格式，根据路径导出
                dxf.DrawingVariables.AcadVer = DxfVersion.AutoCad2007;
                dxf.Save(path);
            }
        }

    }
}